﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tanmia.Warehouse.Core;
using FluentNHibernate.Mapping;

namespace Tanmia.Warehouse.NHibernateRepository.Mapping
{
    public class LottedMap : SubclassMap<Lotted>
    {
        public LottedMap()
        {
            Table("Lotted");

            Extends<MovingApproach>();

            Map(x => x.MovingAlgorithm).CustomType<MovingAlgorithmEnum>().Not.Nullable();
        }
    }
}
